package com.hoshiicloud;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @program: hoshiibuy
 * @description: saas后台系统用户登录vo
 * @author: Mr.wu
 * @create: 2019-06-20 15:23
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "UsersLoginVO对象", description = "用户登录对象")
public class UsersLoginVO implements Serializable {
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "组织id")
    private Long deptId;

    @ApiModelProperty(value = "帐号")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "状态(0:正常,1:锁定)")
    private Integer locked;


    @ApiModelProperty(value = "角色名列表")
    private List<String> roleList;

    @ApiModelProperty(value = "权限名列表")
    private List<String> permissionValueList;

    @ApiModelProperty(value = "权限url列表")
    private List<String> permissionUrlList;

}
